public class ChargeActivationModificationModel extends ModificationModel
attributeModificationModel to describe each modification.
attributeModificationModel is given, no modification is done.
ModificationModel for
XML Schema. The element name for this charge activation modification is set to "chargeActivationModification".
No specific modification exists for charge activations.The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="chargeActivationModification" substitutionGroup="ModificationModel" type="ModificationModel"/>
| Modifier and Type | Field and Description |
|---|---|
static String |
EFFECTIVE
Name of the attributeDescription that represents
effective. |
static String |
EXPIRATION
Name of the attributeDescription that represents
expiration. |
| Constructor and Description |
|---|
ChargeActivationModificationModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkModifications()
This method throws an exception if the required modifications
are not well formed.
|
Vector<AttributeDescriptionModel> |
getMainModifiableAttributeCatalog()
Returns the list of pre-formed modification model of all
modifiable main attributes.
|
AttributeDescriptionModel |
getMainModifiableAttributeFromCatalog(String name)
Gets a pre-formed attribute modification model for a specified main attribute.
|
Vector<SpecificModificationModel> |
getSpecificModificationCatalog()
This method allows the user to retrieve the catalog of
available specific modifications.
|
SpecificModificationModel |
getSpecificModificationFromCatalog(String code)
This method allows the user to retrieve from the catalog of
available specific modifications a specified one.
|
addAttributeModification, addCharacterData, addChild, addSpecificModification, checkAttributeUnicity, getAttributeModificationList, getAttributeModificationListFromGroup, getEndPeriod, getModificationName, getSpecificModificationList, getStartPeriod, isPeriodRequired, marshal, setAttributeModificationList, setAttributes, setEndPeriod, setPeriodRequired, setSpecificModificationList, setStartPeriodpublic static final String EXPIRATION
expiration.
The type of the corresponding attributeDescription is datepublic static final String EFFECTIVE
effective.
The type of the corresponding attributeDescription is datepublic SpecificModificationModel getSpecificModificationFromCatalog(String code)
getSpecificModificationFromCatalog in class ModificationModelcode - the code of the requested specific modification.public Vector<SpecificModificationModel> getSpecificModificationCatalog()
getSpecificModificationCatalog in class ModificationModelpublic AttributeDescriptionModel getMainModifiableAttributeFromCatalog(String name)
ModificationModelgetMainModifiableAttributeFromCatalog in class ModificationModelpublic Vector<AttributeDescriptionModel> getMainModifiableAttributeCatalog()
ModificationModelgetMainModifiableAttributeCatalog in class ModificationModelAttributeDescriptionModelpublic void checkModifications()
throws InvalidBulkModificationException
ModificationModelcheckModifications in class ModificationModelInvalidBulkModificationException - with MALFORMED_MODEL as reason